package com.xbongbong.pro.menu.pojo.dto;

import com.xbongbong.paas.enums.DelEnum;
import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import com.xbongbong.paas.toolbox.wrap.QueryIgnore;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 首页菜单列表（包括常用表单，应用等）
 * @author 吴峰
 * @version v1.0
 * @date 2019/1/9 10:29
 * @since v1.0
 */
@Getter
@Setter
@ToString
public class MenuNewListDTO extends BaseDTO {
    private static final long serialVersionUID = 3969661263314897944L;


    private Integer del;

    private Integer enable;

    /**
     * 1：手机上快捷新建的请求
     */
    @Getter(onMethod_ = {@QueryIgnore})
    private Integer quickDingtalk;

    public MenuNewListDTO(){
        enable = 1;
        del = DelEnum.NORMAL.getDel();
    }
}
